#this file contains functions to calculate influence
